package com.zkjl.protect_business.dto;

import com.zkjl.protect_business.entity.DocField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel(description = "模板实体")
public class TemplateDTO {

    @ApiModelProperty(notes = "模板文件id")
    private String fileId;

    @ApiModelProperty(notes = "所属业务类别id")
    @NotBlank(message = "业务分类id不能为空")
    private String businessId;

    @ApiModelProperty(notes = "描述")
    private String describe;

}
